package com.vids.model.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.io.Serializable;

public class SubImageInfoVo implements Serializable {

    @JSONField(name = "ImageID")
    @JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
    private String ImageID;

    @JSONField(name = "EventSort")
    @JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
    private Integer EventSort;

    @JSONField(name = "DeviceID")
    @JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
    private String DeviceID;

    @JSONField(name = "StoragePath")
    @JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
    private String StoragePath;

    @JSONField(name = "Type")
    @JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
    private String Type;

    @JSONField(name = "FileFormat")
    @JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
    private String FileFormat;

    @JSONField(name = "ShotTime")
    @JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
    private String ShotTime;

    @JSONField(name = "Height")
    @JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
    private Integer Height;

    @JSONField(name = "Width")
    @JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
    private Integer Width;

    @JSONField(name = "Data")
    @JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
    private String Data;

    @JsonProperty(value = "ImageID")
    public String getImageID() {
	return ImageID;
    }

    public void setImageID(String imageID) {
	ImageID = imageID;
    }

    @JsonProperty(value = "EventSort")
    public Integer getEventSort() {
	return EventSort;
    }

    public void setEventSort(Integer eventSort) {
	EventSort = eventSort;
    }

    @JsonProperty(value = "DeviceID")
    public String getDeviceID() {
	return DeviceID;
    }

    public void setDeviceID(String deviceID) {
	DeviceID = deviceID;
    }

    @JsonProperty(value = "StoragePath")
    public String getStoragePath() {
	return StoragePath;
    }

    public void setStoragePath(String storagePath) {
	StoragePath = storagePath;
    }

    @JsonProperty(value = "Type")
    public String getType() {
	return Type;
    }

    public void setType(String type) {
	Type = type;
    }

    @JsonProperty(value = "FileFormat")
    public String getFileFormat() {
	return FileFormat;
    }

    public void setFileFormat(String fileFormat) {
	FileFormat = fileFormat;
    }

    @JsonProperty(value = "ShotTime")
    @JsonFormat(pattern = "yyyyMMddHHmmss", timezone = "GMT+8")
    public String getShotTime() {
	return ShotTime;
    }

    public void setShotTime(String shotTime) {
	ShotTime = shotTime;
    }

    @JsonProperty(value = "Height")
    public Integer getHeight() {
	return Height;
    }

    public void setHeight(Integer height) {
	Height = height;
    }

    @JsonProperty(value = "Width")
    public Integer getWidth() {
	return Width;
    }

    public void setWidth(Integer width) {
	Width = width;
    }

    @JsonProperty(value = "Data")
    public String getData() {
	return Data;
    }

    public void setData(String data) {
	Data = data;
    }
}
